package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_assistant_skin_upgrade", desc = "小助理换装升级", autoSave = true, uploadCk = true)
public class LogAssistantSkinUpgrade extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "升级类型(1为单件2为套装)")
    private int upgradeType;
    @FieldTypeAnnotation(desc = "套装或单件装扮id")
    private int skinId;
    @FieldTypeAnnotation(desc = "升级后等级")
    private int level;

    public LogAssistantSkinUpgrade(long userId, int upgradeType, int skinId, int level) {
        this.userId = userId;
        this.upgradeType = upgradeType;
        this.skinId = skinId;
        this.level = level;
    }

    public long getUserId() {
        return userId;
    }
}

